{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/header.html"}

<!--header stop-->
{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/common/headerusertitle.html"}
<!--header end-->

<script type="text/javascript">
    $(function(){
            var aDent = true;
            var oParent = $('.list-bar');
            var oNodeContent = $('.list-menu');
            oParent.click(function(){
                    if(aDent){
                            oNodeContent.stop().slideDown(500);
                    }else{
                            oNodeContent.stop().slideUp(500);
                    }
                    aDent = !aDent;
            });
        });
</script>

<section class="list-menu" style="display:none;">
    <ul>
            <li>
            <a href="#">
                    <span class="me1-icon mi"></span>
                    <span class="mname">HDPE</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
        <li>
            <a href="#">
                    <span class="me2-icon mi"></span>
                    <span class="mname">LDPE</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
        <li>
            <a href="#">
                    <span class="me3-icon mi"></span>
                    <span class="mname">LLDPE</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
        <li>
            <a href="#">
                    <span class="me4-icon mi"></span>
                    <span class="mname">PP</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
        <li>
            <a href="#">
                    <span class="me5-icon mi"></span>
                    <span class="mname">MLLDPE</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
    </ul>
</section>

<!--content stop-->
<section class="box-user">
    <div class="user-head">
        <p class="p1"><a href="/user/userinfos" ><img src="/images/temp/user.png" width="100%"/></a></p>
        <p class="tac">{if $user_info.moblie eq ''}{$user_info.login_name}{else}{$user_info.moblie}{/if}</p>
    </div>

    <div class="user-icon">
        <ul>
            <li>
                <a href="/user/supply">
                    <span class="menu1-icon micon"><i></i></span>
                    <span class="cate-name">发布报价</span>
                </a>
            </li>

            <li>
                <a href="/user/supplylist">
                    <span class="menu3-icon micon"><i></i></span>
                    <span class="cate-name">报价管理</span>
                </a>
            </li>
            <li>
                <a href="/user/supplyintent">
                    <span class="menu5-icon micon"><i></i></span>
                    <span class="cate-name">意向单</span>
                </a>
            </li>
            <li>
                <a href="/user/buy">
                    <span class="menu2-icon micon"><i></i></span>
                    <span class="cate-name">发布求购</span>
                </a>
            </li>
            <li>
                <a href="/user/buylist">
                    <span class="menu4-icon micon"><i></i></span>
                    <span class="cate-name">求购管理</span>
                </a>
            </li>

            <li>
                <a href="/user/buyintent">
                    <span class="menu6-icon micon"><i></i></span>
                    <span class="cate-name">已收到的报价</span>
                </a>
            </li>
            <li>
                <a href="/user/saleorder">
                    <span class="menu7-icon micon"><i></i></span>
                    <span class="cate-name">我的销售订单</span>
                </a>
            </li>
            <li>
                <a href="/user/purchaseorder">
                    <span class="menu8-icon micon"><i></i></span>
                    <span class="cate-name">我的采购订单</span>
                </a>
            </li>
            <li>
                <a href="/user/sample">
                    <span class="menu9-icon micon"><i></i></span>
                    <span class="cate-name">免费试样</span>
                </a>
            </li>
        </ul>
    </div>

    <div class="my_account_manager">
        <h3 class="myam_t">我的客户经理</h3>
        <div class="myam_w">
            <p class="myam_img"><img src="{$worker_info.personpic}" width="100%"/></p>
            <div  class="myam_text">
                <p>客户经理:{$worker_info.realname}</p>
                <p>联系电话:{$worker_info.phone}</p>
                <p  onclick="javascript:window.open('http://wpa.qq.com/msgrd?v=3&uin={$worker_info.qq}&site=qq&menu=yes');">企业QQ:{$worker_info.qq}</p>
            </div>
            <div  class="myam_tel">
                <a href="tel:{$worker_info.mobile}">
                    <span class="menu9-icon"><i></i></span>
                    <span class="cate-name">联系客户经理</span>
                </a>
            </div>
        </div>
    </div>


    <div class="my_account_manager">
        <h3 class="myam_t">最新求购</h3>

        <div class="myam_w" style="padding:0;">
            <div class="swiper-slide">
                <table class="ssw_tab">
                    <tr>
                        <th>牌号</th>
                        <th>厂商</th>
                        <th>单价</th>
                        <th>更新时间</th>
                        <th></th>
                    </tr>
                    {foreach from=$buylist key=key item=item}
                    <tr href="/buy/detail/id/{$item.id}">
                        <td width="60"><p class="ptm1">{$item.product_name}</p></td>
                        <td>{$item.brand_name}</td>
                        <td class="orange">￥{$item.price}</td>
                        <td>{$item.update_time}</td>
                        <td><img src="/images/icons5.png" width="50%"/></td>
                    </tr>
                    {/foreach}

                </table>
            </div>


        </div>

    </div>





</section>
{literal}
<script type="text/javascript">

$(function(){
    $('.ssw_tab tr').not(":first").click(function(){
        window.location.href=$(this).attr('href');
    });
});
</script>
{/literal}
<!--content end-->

{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/common/footerlogin.html"}

{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/footer.html"}
